Decimal expansion of rational numbers